<template>
	<view>
		<view class="realques-main" v-for="item in items">
			<view class="title">{{item.name}}</view>
			<view class="flex-row info">
				<view class="flex-row info-item">类别：{{item.type}}</view>
				<view class="flex-row info-item">颜色：{{item.color}}</view>
				<view class="flex-row info-item">年份：{{item.year}}</view>
				<view class="flex-row info-item">区域：{{item.area}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:"realques-list",
		props:{
			items:{
				type:Array,
				default:[]
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss" scoped>
.realques-main{
	background-color: #fff;
	margin: 30rpx 0 30rpx;
	padding: 20rpx 48rpx;
	
	.title{
		font-size: 36rpx;
		color:#333;
		margin-bottom: 20rpx;
		font-weight: bold;
	}
	.info{
		font-size: 24rpx;
		color:#7F8BB4;
		
		.info-item{
			margin-right: 35rpx;
		}
	}
}

/** 引入真实项目时，请将以下样式拷贝到全局样式uni.scss中，不需要每个页面都定义 ----start**/
view,
image,
text {
  box-sizing: border-box;
  flex-shrink: 0;
}

#app {
  width: 100vw;
  height: 100vh;
}

.flex-row {
  display: flex;
  flex-direction: row;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.items-start {
  display: flex;
  align-items: flex-start;
}

.items-center {
  display: flex;
  align-items: center;
}

.items-end {
  display: flex;
  align-items: flex-end;
}

/** 引入真实项目时，请将以下样式拷贝到全局样式uni.scss中，不需要每个页面都定义 ----end**/
</style>